package com.InsideGamer.SuperJailBreak;

//import java.util.HashMap;
//import java.util.LinkedList;

//import org.bukkit.Location;

//class Pair
//{
	//public Location mloc1 = null;
	//public Location mloc2 = null;
	
	//public Pair ( Location loc1, Location loc2 )
	//{
		//mloc1 = loc1;
		//mloc2 = loc2;
	//}
//}

public class Region
{
	/*private JailBreak plugin;
	private HashMap<String, Object> regios = new HashMap<String, Object>();
	private HashMap<String, Object> regio = new HashMap<String, Object>();
	
	private Location loc1 = null;
	private Location loc2 = null;
	
	private LinkedList<Pair> corner1 = new LinkedList<Pair>();
    private LinkedList<Pair> corner2 = new LinkedList<Pair>();
	
	public Region ( JailBreak pluginInstance )
	{
		plugin = pluginInstance;
	}
	
	public void setRegionFirst ( Location floc1 )
	{
		loc1 = floc1;
	}
	
	public void setRegionSecond ( Location floc2 )
	{
		loc2 = floc2;
	}
	
	public void SaveRegion ( String name )
	{
		regio.put(name, new Pair ( loc1, loc2 ) );
		regios.put(name, regio.get(name));
		regio.remove(name);
	}
	
	public boolean isInRegion ( Location playerLocation )
	{
		for ( int i = 0; i < regios.size(); i++ )
		{
			regio = regios.get(i)
			
		}
	}*/
}
